<!DOCTYPE html>
<html>
<head>
</head>
<body>
	<table id="tbDatagrid" class="easyui-datagrid"  width="100%" height="100%"
			data-options="pageList:[10,20,50],pageSize:10,rownumbers:true,singleSelect:true,url:'${mainDomain}/sbsj/list.action',method:'get',toolbar:'#tb'" pagination="true" onClickCell: onClickCell">
		<thead>
			<tr>
				<th data-options="field:'jd',width:100,align:'right'">季度</th>
				<th data-options="field:'sbsj',width:80,align:'right',formatter:jzsjFormatter">申报截止时间</th>
				<th data-options="field:'cjsj',width:150,align:'right',formatter:rqFormatter">创建时间</th>
				<th data-options="field:'gxsj',width:150,align:'right',formatter:rqFormatter">更新时间</th>
			</tr>
		</thead>
	</table>
	
	<div id="tb" style="padding:20px;height:auto">
		<div>
			<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-add" onclick="newRow();">新增</a>
			<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-edit" onclick="editSelected();">编辑</a>
			<!--<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-remove" onclick="deleteSelected();">删除</a>-->
		</div>
	</div>
    
    <div id="settjDlg" class="easyui-dialog" style="width:400px;height:240px"
		data-options="title:'申报时间设置',buttons:'#bb',modal:true" closed="true">
		
		<div class="easyui-panel" style="width:400px;border-style:none;">
			<div style="padding:10px 60px 20px 60px">
		    <form id="ff" class="easyui-form" method="post" action="${mainDomain}/sbsj/neworedit.action">
		    	<input type="hidden" name="id" />
		    	<input type="hidden" name="isflag" />
		    	<table cellpadding="5">
		    		<tr>
		    			<td>季度:</td>
		    			<td>
		    				<select class="easyui-combobox" id="jd" name="jd" style="width:100px;">
		    					<option value="1">第一季度</option>
		    					<option value="2">第二季度</option>
		    					<option value="3">第三季度</option>
		    					<option value="4">第四季度</option>
		    				</select>
		    			</td>
		    		</tr>
		    		<tr>
		    			<td>申报截至时间</td>
		    			<td><input id="sbsj" name="sbsj" type="text"></td>
		    		</tr>
		    	</table>
		    </form>
		    </div>
		</div>
	</div>
	<div id="bb">
		<a href="#" class="easyui-linkbutton" iconCls="icon-ok" onclick="javascript:tjSave();">保存</a>
		<a href="#" class="easyui-linkbutton" iconCls="icon-cancel" onclick="javascript:$('#settjDlg').dialog('close')">关闭</a>
	</div>

	<script>
		var mainDomain = "${mainDomain}",miscDomain = '${mainDomain}',staticDomain = '${staticDomain}';
	</script>
	<script type="text/javascript" src="${mainDomain}/statics/js/backend/system/sbsj/list.js?version=1001"></script>
</body>
</html>